home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / std / c / 56 < prev    next >
Internet Message Format  |  1996-08-06  |  1KB

  1. Path: airgun.wg.waii.com!news
  2. From: gsez020@nemo.bedford.waii.com (Pete Forman)
  3. Newsgroups: comp.std.c
  4. Subject: Re: sizeof(1L) in preprocesor;How to tell sizeof(double)>sizeof(long) ?
  5. Date: 09 Jan 1996 09:52:23 +0000
  6. Organization: Western Geophysical, Div. of Western Atlas Int'l, Bedford, UK
  7. Sender: gsez020@nemo.bedford.waii.com
  8. Message-ID: <tuent98zl4.fsf@nemo.bedford.waii.com>
  9. References: <sc3f9vb6gk.fsf@lns101.lns.cornell.edu>
  10.     <1996Jan5.094122.16151@sq.com>
  11.     <vyzd98ug7w4.fsf@lamothe.informatik.uni-dortmund.de>
  12. NNTP-Posting-Host: nemo.bedford.waii.com
  13. In-reply-to: schwab@lamothe.informatik.uni-dortmund.de's message of 08 Jan 1996 13:58:51 +0100
  14. X-Newsreader: Gnus v5.0.4
  15.  
  16. >>>>> "Andreas" == Andreas Schwab <schwab@lamothe.informatik.uni-dortmund.de> writes:
  17. >>>>> "Mark" == Mark Brader <msb@sq.com> writes:
  18.  
  19.     Mark>    #if LONG_MAX * DBL_EPSILON > 1
  20.  
  21.     Andreas> This doesn't work as floating point numbers aren't
  22.     Andreas> allowed in #if expressions.
  23.  
  24. Try changing to something like
  25.  
  26.     #if LONG_MAX >> DBL_MANT_DIG > 1
  27. -- 
  28. Pete Forman
  29. Western Geophysical
  30. pete.forman@bedford.waii.com
  31.